<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibTools: H:/project/LibTools/src/file/FindFile.cpp 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibTools
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.16 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_f17c642dae9e225ab953fe9c6da2e34a.html">file</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">FindFile.cpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_find_file_8cpp.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_find_file_8h.html">FindFile.h</a>&quot;</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_file_tools_8h.html">FileTools.h</a>&quot;</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160; </div>
<div class="line"><a name="l00004"></a><span class="lineno"><a class="line" href="_find_file_8cpp.html#a660395cdc8ba7aca573aed6c676faae8">    4</a></span>&#160;<a class="code" href="_find_file_8cpp.html#a660395cdc8ba7aca573aed6c676faae8">USE_LIBTOOLS</a>;</div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160; </div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">/************************************************************************/</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">//                          文件查找                                     //</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"><a class="line" href="class_c_find_file.html#aa5f2596fbaa3856c6573f1bb3660ca55">    8</a></span>&#160;<a class="code" href="class_c_find_file.html#aa5f2596fbaa3856c6573f1bb3660ca55">CFindFile::CFindFile</a>()</div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;{</div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;    memset(&amp;<a class="code" href="class_c_find_file.html#aab70f379f1c21d505ebf2353bc703ab3">_cFileInfo</a>, 0, <span class="keyword">sizeof</span>(<a class="code" href="class_c_find_file.html#aab70f379f1c21d505ebf2353bc703ab3">_cFileInfo</a>));</div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;    memset(<a class="code" href="class_c_find_file.html#a5f8cc4e4bfdccf9fd297c5a348b8803e">_szFilePath</a>, 0, <span class="keyword">sizeof</span>(<a class="code" href="class_c_find_file.html#a5f8cc4e4bfdccf9fd297c5a348b8803e">_szFilePath</a>));</div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;    <a class="code" href="class_c_find_file.html#ae2d0cab5193aaf562c400d374ec24044">_hFile</a> = 0;</div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;    <a class="code" href="class_c_find_file.html#ac7d9fa47e02ba25c6395524e14ba9663">_errMsg</a>.GetReference().clear();</div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;}</div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160; </div>
<div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="class_c_find_file.html#a962c9dd473adab657a38f34a30a05dd7">   16</a></span>&#160;<a class="code" href="class_c_find_file.html#a962c9dd473adab657a38f34a30a05dd7">CFindFile::~CFindFile</a>()</div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;{</div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="class_c_find_file.html#ae2d0cab5193aaf562c400d374ec24044">_hFile</a> != 0)</div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;        <a class="code" href="namespace_share_api.html#a753dde889b11d29612c759d13ee359b3">ShareApi::FindClose</a>(<a class="code" href="class_c_find_file.html#ae2d0cab5193aaf562c400d374ec24044">_hFile</a>);</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;}</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160; </div>
<div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="class_c_find_file.html#a5b6b311855ca6222cdd00a1e3f070fc7">   22</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_c_find_file.html#a5b6b311855ca6222cdd00a1e3f070fc7">CFindFile::_CloseHandle</a>()</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;{</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="class_c_find_file.html#ae2d0cab5193aaf562c400d374ec24044">_hFile</a>)</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;    {</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;        <a class="code" href="namespace_share_api.html#a753dde889b11d29612c759d13ee359b3">ShareApi::FindClose</a>(<a class="code" href="class_c_find_file.html#ae2d0cab5193aaf562c400d374ec24044">_hFile</a>);</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;         <a class="code" href="class_c_find_file.html#ae2d0cab5193aaf562c400d374ec24044">_hFile</a> = 0;</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;    }</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;}</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160; </div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="class_c_find_file.html#a997c91811de97be3adb76c8c2cfdf313">   31</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_c_find_file.html#a997c91811de97be3adb76c8c2cfdf313">CFindFile::EnumAllFile</a>(<span class="keyword">const</span> <a class="code" href="tools_8h.html#a65c91f8d7af3c67b8a21e089fdddd0fe">TCHAR</a>* sPath, _CallBackFindFile pFunc, <span class="keywordtype">void</span> *lpParama, <span class="keywordtype">bool</span> bIsListSub <span class="comment">/* = true */</span>)</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;{</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;    <a class="code" href="struct___f_i_l_e_f_i_n_d_i_n_f_o__.html">FILEFINDINFO</a> fileInfo;</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;    <a class="code" href="tools_8h.html#ab00d7bdead70fa34f855541305b0c89e">FILE_HANDLE</a> hFile = <a class="code" href="namespace_share_api.html#a714ae756abbd2497307c649f6e9259c2">ShareApi::FindFirstFile</a>(sPath, &amp;fileInfo);</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;    <span class="keywordflow">if</span> (hFile == 0) <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160; </div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;    <span class="comment">// 保存当前路径</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    <a class="code" href="tools_8h.html#a65c91f8d7af3c67b8a21e089fdddd0fe">TCHAR</a> sDirList[<a class="code" href="tools_8h.html#ab99ded389af74001a6298fc9e44e74e5">MAX_PATH</a>];</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;    <span class="comment">// 遍历文件</span></div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;    <span class="keywordflow">do</span></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;    {</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;        <a class="code" href="tools_8h.html#a2c2000c5cd1b5ee50319176e11045bc4">tcscpy_safe</a>(sDirList, <span class="keyword">sizeof</span>(sDirList), sPath);</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;        <a class="code" href="_file_tools_8cpp.html#a3c04dd3001c03a53ff0af77a61ac93f4">PathRemoveBackslash</a>(sDirList);</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;        <span class="comment">// 用户返回值大于0时，说明想要退出遍历</span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;        <span class="keywordflow">if</span> (pFunc(sDirList, &amp;fileInfo, lpParama) &gt; 0)</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;        {</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;            <a class="code" href="namespace_share_api.html#a753dde889b11d29612c759d13ee359b3">ShareApi::FindClose</a>(hFile);</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;            <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;        }</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160; </div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;        <span class="comment">// 深入子目录继续遍历</span></div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;        <span class="keywordflow">if</span> (bIsListSub == <span class="keyword">true</span> &amp;&amp; fileInfo.<a class="code" href="struct___f_i_l_e_f_i_n_d_i_n_f_o__.html#a3e6510c0f73543a8d7adf32441236814">fwFileAttributes</a> == <a class="code" href="tools_8h.html#a3862008c58f4f60e0ec669c245af26d1">FILE_DIR</a>)</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;        {</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;            <span class="comment">// 去掉子父目录</span></div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;            <span class="keywordflow">if</span>(<a class="code" href="tools_8h.html#a127d2fa204bf091738a6d3b1c0671d9e">_tcscmp</a>(fileInfo.<a class="code" href="struct___f_i_l_e_f_i_n_d_i_n_f_o__.html#a857b9e763ea3e183a8e6a582af305c82">szFileName</a>, <a class="code" href="tools_8h.html#a5fc7b9645f751ccc053f6f59ab0d8924">TEXT</a>(<span class="stringliteral">&quot;.&quot;</span>)) != 0 &amp;&amp;</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;                <a class="code" href="tools_8h.html#a127d2fa204bf091738a6d3b1c0671d9e">_tcscmp</a>(fileInfo.<a class="code" href="struct___f_i_l_e_f_i_n_d_i_n_f_o__.html#a857b9e763ea3e183a8e6a582af305c82">szFileName</a>, <a class="code" href="tools_8h.html#a5fc7b9645f751ccc053f6f59ab0d8924">TEXT</a>(<span class="stringliteral">&quot;..&quot;</span>)) != 0)</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;            {</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;                <span class="keywordtype">int</span> nLen = (<a class="code" href="_find_file_8h.html#a37cc1038758216808d5f75090b093c9a">int</a>)<a class="code" href="tools_8h.html#ad253c68ce58b12b277fedc2d785d7977">_tcslen</a>(sDirList);</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;                sDirList[nLen++] = <a class="code" href="tools_8h.html#a5fc7b9645f751ccc053f6f59ab0d8924">TEXT</a>(<span class="charliteral">&#39;/&#39;</span>);</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;                <a class="code" href="tools_8h.html#a2c2000c5cd1b5ee50319176e11045bc4">tcscpy_safe</a>(sDirList + nLen, <span class="keyword">sizeof</span>(sDirList) - nLen, fileInfo.<a class="code" href="struct___f_i_l_e_f_i_n_d_i_n_f_o__.html#a857b9e763ea3e183a8e6a582af305c82">szFileName</a>);</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;                <a class="code" href="class_c_find_file.html#a997c91811de97be3adb76c8c2cfdf313">EnumAllFile</a>(sDirList, pFunc, lpParama, bIsListSub); </div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;            } </div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;        }</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    } <span class="keywordflow">while</span> (<a class="code" href="namespace_share_api.html#ac4bb4bd0533fccd041039f9c51f1242d">ShareApi::FindNextFile</a>(hFile, &amp;fileInfo));</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160; </div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    <a class="code" href="namespace_share_api.html#a753dde889b11d29612c759d13ee359b3">ShareApi::FindClose</a>(hFile);</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160; </div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;}</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160; </div>
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="class_c_find_file.html#ac1174667c68623d293bc3d483418bfa7">   71</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_c_find_file.html#ac1174667c68623d293bc3d483418bfa7">CFindFile::FindFile</a>(<span class="keyword">const</span> <a class="code" href="tools_8h.html#a65c91f8d7af3c67b8a21e089fdddd0fe">TCHAR</a>* sPath)</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;{</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    <a class="code" href="class_c_find_file.html#a5b6b311855ca6222cdd00a1e3f070fc7">_CloseHandle</a>();</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;    <a class="code" href="class_c_find_file.html#ae2d0cab5193aaf562c400d374ec24044">_hFile</a> = <a class="code" href="namespace_share_api.html#a714ae756abbd2497307c649f6e9259c2">ShareApi::FindFirstFile</a>(sPath, &amp;<a class="code" href="class_c_find_file.html#aab70f379f1c21d505ebf2353bc703ab3">_cFileInfo</a>);</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="class_c_find_file.html#ae2d0cab5193aaf562c400d374ec24044">_hFile</a> == 0)</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;    {</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;        <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    }</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;    <a class="code" href="tools_8h.html#a2c2000c5cd1b5ee50319176e11045bc4">tcscpy_safe</a>(<a class="code" href="class_c_find_file.html#a5f8cc4e4bfdccf9fd297c5a348b8803e">_szFilePath</a>, <span class="keyword">sizeof</span>(<a class="code" href="class_c_find_file.html#a5f8cc4e4bfdccf9fd297c5a348b8803e">_szFilePath</a>), sPath);</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    <a class="code" href="_file_tools_8cpp.html#a3c04dd3001c03a53ff0af77a61ac93f4">LibTools::PathRemoveBackslash</a>(<a class="code" href="class_c_find_file.html#a5f8cc4e4bfdccf9fd297c5a348b8803e">_szFilePath</a>);</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160; </div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;}</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160; </div>
<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="class_c_find_file.html#a7d47bb5e65af545e4bc40e1f8c05c294">   85</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_c_find_file.html#a7d47bb5e65af545e4bc40e1f8c05c294">CFindFile::FindNext</a>()</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;{</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespace_share_api.html#ac4bb4bd0533fccd041039f9c51f1242d">ShareApi::FindNextFile</a>(<a class="code" href="class_c_find_file.html#ae2d0cab5193aaf562c400d374ec24044">_hFile</a>, &amp;<a class="code" href="class_c_find_file.html#aab70f379f1c21d505ebf2353bc703ab3">_cFileInfo</a>) ? true : <span class="keyword">false</span>;</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;}</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160; </div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="class_c_find_file.html#a1a94968723c70b3cd241a34df9e2bd2b">   90</a></span>&#160;<span class="keyword">const</span> <a class="code" href="tools_8h.html#a65c91f8d7af3c67b8a21e089fdddd0fe">TCHAR</a>* <a class="code" href="class_c_find_file.html#a1a94968723c70b3cd241a34df9e2bd2b">CFindFile::GetFileName</a>()</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;{</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="class_c_find_file.html#aab70f379f1c21d505ebf2353bc703ab3">_cFileInfo</a>.<a class="code" href="struct___f_i_l_e_f_i_n_d_i_n_f_o__.html#a857b9e763ea3e183a8e6a582af305c82">szFileName</a>;</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;}</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160; </div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="class_c_find_file.html#a944a26b4a2465b9ba3f060308355ddf5">   95</a></span>&#160;<span class="keyword">const</span> <a class="code" href="tools_8h.html#a65c91f8d7af3c67b8a21e089fdddd0fe">TCHAR</a>* <a class="code" href="class_c_find_file.html#a944a26b4a2465b9ba3f060308355ddf5">CFindFile::GetFilePath</a>()</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;{</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    <span class="comment">// return _cFileInfo.szFilePath;</span></div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="class_c_find_file.html#a5f8cc4e4bfdccf9fd297c5a348b8803e">_szFilePath</a>;</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;}</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160; </div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="class_c_find_file.html#ace7cf17d03bd627bf35be3e90112c626">  101</a></span>&#160;<span class="keyword">const</span> <a class="code" href="tools_8h.html#a65c91f8d7af3c67b8a21e089fdddd0fe">TCHAR</a>* <a class="code" href="class_c_find_file.html#ace7cf17d03bd627bf35be3e90112c626">CFindFile::GetLastError</a>()</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;{</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;    <a class="code" href="class_shared_ptr.html">SharedPtr&lt;TCHAR&gt;</a> err(<a class="code" href="namespace_share_api.html#a58553d013a36ffb0eb150b0eec157c63">ShareApi::Global_GetLastError</a>(), &amp;<a class="code" href="namespace_share_api.html#a79243d634ddf21dd7486ceb02e80e360">ShareApi::Global_FreeMem</a>);</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;    <a class="code" href="class_c_find_file.html#ac7d9fa47e02ba25c6395524e14ba9663">_errMsg</a>.GetReference() = err.<a class="code" href="class_shared_ptr.html#a0f15d2d3d2834b0667791f3abfd9e0d7">Get</a>();</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="class_c_find_file.html#ac7d9fa47e02ba25c6395524e14ba9663">_errMsg</a>.GetReference().c_str();</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;}</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160; </div>
<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="class_c_find_file.html#af4d5a2788640ba6aa1e30a8cc37cd6c7">  108</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_c_find_file.html#af4d5a2788640ba6aa1e30a8cc37cd6c7">CFindFile::IsDir</a>()</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;{</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;    <span class="keywordflow">return</span> (<a class="code" href="class_c_find_file.html#aab70f379f1c21d505ebf2353bc703ab3">_cFileInfo</a>.<a class="code" href="struct___f_i_l_e_f_i_n_d_i_n_f_o__.html#a3e6510c0f73543a8d7adf32441236814">fwFileAttributes</a> == <a class="code" href="tools_8h.html#a3862008c58f4f60e0ec669c245af26d1">FILE_DIR</a>);</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;}</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160; </div>
<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="class_c_find_file.html#ae59981d2378355622b4dc22ef18f06e0">  113</a></span>&#160;time_t <a class="code" href="class_c_find_file.html#ae59981d2378355622b4dc22ef18f06e0">CFindFile::GetFileCreateTime</a>()</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;{</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="class_c_find_file.html#aab70f379f1c21d505ebf2353bc703ab3">_cFileInfo</a>.<a class="code" href="struct___f_i_l_e_f_i_n_d_i_n_f_o__.html#ad9c9e6207a688f672d689fa75f83da1a">tCreateTime</a>;</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;}</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160; </div>
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="class_c_find_file.html#a59d6ad75b318bb307b8a5010b955ddc4">  118</a></span>&#160;time_t <a class="code" href="class_c_find_file.html#a59d6ad75b318bb307b8a5010b955ddc4">CFindFile::GetFileUpdateTime</a>()</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;{</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="class_c_find_file.html#aab70f379f1c21d505ebf2353bc703ab3">_cFileInfo</a>.<a class="code" href="struct___f_i_l_e_f_i_n_d_i_n_f_o__.html#aeac0f7a7b532ebfa75dc0becaf579692">tUpdateTime</a>;</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;}</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160; </div>
<div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="class_c_find_file.html#af6c3c97ffd131432b747588c63003c0f">  123</a></span>&#160;<a class="code" href="tools_8h.html#a6a2b55a6391419ed0b7b9da06e094b4b">INT64</a> <a class="code" href="class_c_find_file.html#af6c3c97ffd131432b747588c63003c0f">CFindFile::GetFileSize</a>()</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;{</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="class_c_find_file.html#aab70f379f1c21d505ebf2353bc703ab3">_cFileInfo</a>.<a class="code" href="struct___f_i_l_e_f_i_n_d_i_n_f_o__.html#a12703399394ee01b4753a90543f1e3c6">dwFilesize</a>;</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;}</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;<span class="comment">/************************************************************************/</span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="aclass_c_find_file_html_aa5f2596fbaa3856c6573f1bb3660ca55"><div class="ttname"><a href="class_c_find_file.html#aa5f2596fbaa3856c6573f1bb3660ca55">CFindFile::CFindFile</a></div><div class="ttdeci">CFindFile()</div><div class="ttdef"><b>Definition:</b> <a href="_find_file_8cpp_source.html#l00008">FindFile.cpp:8</a></div></div>
<div class="ttc" id="aclass_c_find_file_html_a5b6b311855ca6222cdd00a1e3f070fc7"><div class="ttname"><a href="class_c_find_file.html#a5b6b311855ca6222cdd00a1e3f070fc7">CFindFile::_CloseHandle</a></div><div class="ttdeci">void _CloseHandle()</div><div class="ttdef"><b>Definition:</b> <a href="_find_file_8cpp_source.html#l00022">FindFile.cpp:22</a></div></div>
<div class="ttc" id="astruct___f_i_l_e_f_i_n_d_i_n_f_o___html_a3e6510c0f73543a8d7adf32441236814"><div class="ttname"><a href="struct___f_i_l_e_f_i_n_d_i_n_f_o__.html#a3e6510c0f73543a8d7adf32441236814">_FILEFINDINFO_::fwFileAttributes</a></div><div class="ttdeci">DWORD fwFileAttributes</div><div class="ttdoc">文件属性 参见:文件属性</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00314">tools.h:314</a></div></div>
<div class="ttc" id="aclass_c_find_file_html_a944a26b4a2465b9ba3f060308355ddf5"><div class="ttname"><a href="class_c_find_file.html#a944a26b4a2465b9ba3f060308355ddf5">CFindFile::GetFilePath</a></div><div class="ttdeci">const TCHAR * GetFilePath()</div><div class="ttdoc">获取文件路径</div><div class="ttdef"><b>Definition:</b> <a href="_find_file_8cpp_source.html#l00095">FindFile.cpp:95</a></div></div>
<div class="ttc" id="atools_8h_html_a65c91f8d7af3c67b8a21e089fdddd0fe"><div class="ttname"><a href="tools_8h.html#a65c91f8d7af3c67b8a21e089fdddd0fe">TCHAR</a></div><div class="ttdeci">#define TCHAR</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00187">tools.h:187</a></div></div>
<div class="ttc" id="aclass_c_find_file_html_a1a94968723c70b3cd241a34df9e2bd2b"><div class="ttname"><a href="class_c_find_file.html#a1a94968723c70b3cd241a34df9e2bd2b">CFindFile::GetFileName</a></div><div class="ttdeci">const TCHAR * GetFileName()</div><div class="ttdoc">获取文件名称</div><div class="ttdef"><b>Definition:</b> <a href="_find_file_8cpp_source.html#l00090">FindFile.cpp:90</a></div></div>
<div class="ttc" id="atools_8h_html_a5fc7b9645f751ccc053f6f59ab0d8924"><div class="ttname"><a href="tools_8h.html#a5fc7b9645f751ccc053f6f59ab0d8924">TEXT</a></div><div class="ttdeci">#define TEXT(str)</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00195">tools.h:195</a></div></div>
<div class="ttc" id="atools_8h_html_a3862008c58f4f60e0ec669c245af26d1"><div class="ttname"><a href="tools_8h.html#a3862008c58f4f60e0ec669c245af26d1">FILE_DIR</a></div><div class="ttdeci">#define FILE_DIR</div><div class="ttdoc">目录</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00299">tools.h:299</a></div></div>
<div class="ttc" id="atools_8h_html_ad253c68ce58b12b277fedc2d785d7977"><div class="ttname"><a href="tools_8h.html#ad253c68ce58b12b277fedc2d785d7977">_tcslen</a></div><div class="ttdeci">#define _tcslen</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00189">tools.h:189</a></div></div>
<div class="ttc" id="anamespace_share_api_html_ac4bb4bd0533fccd041039f9c51f1242d"><div class="ttname"><a href="namespace_share_api.html#ac4bb4bd0533fccd041039f9c51f1242d">ShareApi::FindNextFile</a></div><div class="ttdeci">LIBTOOLS BOOL FindNextFile(FILE_HANDLE hFile, PFILEFINDINFO pInfo)</div><div class="ttdoc">继续遍历目录</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l00374">ShareApi.cpp:374</a></div></div>
<div class="ttc" id="aclass_c_find_file_html_a5f8cc4e4bfdccf9fd297c5a348b8803e"><div class="ttname"><a href="class_c_find_file.html#a5f8cc4e4bfdccf9fd297c5a348b8803e">CFindFile::_szFilePath</a></div><div class="ttdeci">TCHAR _szFilePath[MAX_PATH]</div><div class="ttdef"><b>Definition:</b> <a href="_find_file_8h_source.html#l00070">FindFile.h:70</a></div></div>
<div class="ttc" id="aclass_shared_ptr_html"><div class="ttname"><a href="class_shared_ptr.html">SharedPtr</a></div><div class="ttdoc">智能指针</div><div class="ttdef"><b>Definition:</b> <a href="_shared_ptr_8h_source.html#l00119">SharedPtr.h:119</a></div></div>
<div class="ttc" id="aclass_shared_ptr_html_a0f15d2d3d2834b0667791f3abfd9e0d7"><div class="ttname"><a href="class_shared_ptr.html#a0f15d2d3d2834b0667791f3abfd9e0d7">SharedPtr::Get</a></div><div class="ttdeci">Ty * Get()</div><div class="ttdef"><b>Definition:</b> <a href="_shared_ptr_8h_source.html#l00202">SharedPtr.h:202</a></div></div>
<div class="ttc" id="a_file_tools_8cpp_html_a3c04dd3001c03a53ff0af77a61ac93f4"><div class="ttname"><a href="_file_tools_8cpp.html#a3c04dd3001c03a53ff0af77a61ac93f4">PathRemoveBackslash</a></div><div class="ttdeci">void PathRemoveBackslash(TCHAR *sPath)</div><div class="ttdoc">去除路径最后的反斜杠</div><div class="ttdef"><b>Definition:</b> <a href="_file_tools_8cpp_source.html#l00099">FileTools.cpp:99</a></div></div>
<div class="ttc" id="a_find_file_8cpp_html_a660395cdc8ba7aca573aed6c676faae8"><div class="ttname"><a href="_find_file_8cpp.html#a660395cdc8ba7aca573aed6c676faae8">USE_LIBTOOLS</a></div><div class="ttdeci">USE_LIBTOOLS</div><div class="ttdef"><b>Definition:</b> <a href="_find_file_8cpp_source.html#l00004">FindFile.cpp:4</a></div></div>
<div class="ttc" id="aclass_c_find_file_html_aab70f379f1c21d505ebf2353bc703ab3"><div class="ttname"><a href="class_c_find_file.html#aab70f379f1c21d505ebf2353bc703ab3">CFindFile::_cFileInfo</a></div><div class="ttdeci">FILEFINDINFO _cFileInfo</div><div class="ttdef"><b>Definition:</b> <a href="_find_file_8h_source.html#l00072">FindFile.h:72</a></div></div>
<div class="ttc" id="a_file_tools_8h_html"><div class="ttname"><a href="_file_tools_8h.html">FileTools.h</a></div></div>
<div class="ttc" id="aclass_c_find_file_html_a962c9dd473adab657a38f34a30a05dd7"><div class="ttname"><a href="class_c_find_file.html#a962c9dd473adab657a38f34a30a05dd7">CFindFile::~CFindFile</a></div><div class="ttdeci">~CFindFile()</div><div class="ttdef"><b>Definition:</b> <a href="_find_file_8cpp_source.html#l00016">FindFile.cpp:16</a></div></div>
<div class="ttc" id="a_find_file_8h_html_a37cc1038758216808d5f75090b093c9a"><div class="ttname"><a href="_find_file_8h.html#a37cc1038758216808d5f75090b093c9a">int</a></div><div class="ttdeci">DEF_BEG_LIBTOOLS typedef int(__stdcall *_CallBackFindFile)(TCHAR *szCurPath</div><div class="ttdoc">遍历目录的回调函数</div></div>
<div class="ttc" id="aclass_c_find_file_html_ae2d0cab5193aaf562c400d374ec24044"><div class="ttname"><a href="class_c_find_file.html#ae2d0cab5193aaf562c400d374ec24044">CFindFile::_hFile</a></div><div class="ttdeci">FILE_HANDLE _hFile</div><div class="ttdef"><b>Definition:</b> <a href="_find_file_8h_source.html#l00071">FindFile.h:71</a></div></div>
<div class="ttc" id="atools_8h_html_a2c2000c5cd1b5ee50319176e11045bc4"><div class="ttname"><a href="tools_8h.html#a2c2000c5cd1b5ee50319176e11045bc4">tcscpy_safe</a></div><div class="ttdeci">#define tcscpy_safe</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00199">tools.h:199</a></div></div>
<div class="ttc" id="aclass_c_find_file_html_a997c91811de97be3adb76c8c2cfdf313"><div class="ttname"><a href="class_c_find_file.html#a997c91811de97be3adb76c8c2cfdf313">CFindFile::EnumAllFile</a></div><div class="ttdeci">static bool EnumAllFile(const TCHAR *sPath, _CallBackFindFile pFunc, void *lpParama=NullPtr, bool bIsListSub=true)</div><div class="ttdoc">枚举目录下的所有文件</div><div class="ttdef"><b>Definition:</b> <a href="_find_file_8cpp_source.html#l00031">FindFile.cpp:31</a></div></div>
<div class="ttc" id="aclass_c_find_file_html_af6c3c97ffd131432b747588c63003c0f"><div class="ttname"><a href="class_c_find_file.html#af6c3c97ffd131432b747588c63003c0f">CFindFile::GetFileSize</a></div><div class="ttdeci">INT64 GetFileSize()</div><div class="ttdoc">获取文件大小</div><div class="ttdef"><b>Definition:</b> <a href="_find_file_8cpp_source.html#l00123">FindFile.cpp:123</a></div></div>
<div class="ttc" id="aclass_c_find_file_html_ace7cf17d03bd627bf35be3e90112c626"><div class="ttname"><a href="class_c_find_file.html#ace7cf17d03bd627bf35be3e90112c626">CFindFile::GetLastError</a></div><div class="ttdeci">const TCHAR * GetLastError()</div><div class="ttdoc">获取错误原因</div><div class="ttdef"><b>Definition:</b> <a href="_find_file_8cpp_source.html#l00101">FindFile.cpp:101</a></div></div>
<div class="ttc" id="aclass_c_find_file_html_ac7d9fa47e02ba25c6395524e14ba9663"><div class="ttname"><a href="class_c_find_file.html#ac7d9fa47e02ba25c6395524e14ba9663">CFindFile::_errMsg</a></div><div class="ttdeci">StringImp&lt; tstring &gt; _errMsg</div><div class="ttdef"><b>Definition:</b> <a href="_find_file_8h_source.html#l00069">FindFile.h:69</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a58553d013a36ffb0eb150b0eec157c63"><div class="ttname"><a href="namespace_share_api.html#a58553d013a36ffb0eb150b0eec157c63">ShareApi::Global_GetLastError</a></div><div class="ttdeci">LIBTOOLS TCHAR * Global_GetLastError(DWORD *pError=NULL)</div><div class="ttdoc">获取错误信息</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l00508">ShareApi.cpp:508</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a714ae756abbd2497307c649f6e9259c2"><div class="ttname"><a href="namespace_share_api.html#a714ae756abbd2497307c649f6e9259c2">ShareApi::FindFirstFile</a></div><div class="ttdeci">LIBTOOLS FILE_HANDLE FindFirstFile(const TCHAR *szDir, PFILEFINDINFO pInfo)</div><div class="ttdoc">文件遍历，win32中不用主动加上*.</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l00290">ShareApi.cpp:290</a></div></div>
<div class="ttc" id="atools_8h_html_ab99ded389af74001a6298fc9e44e74e5"><div class="ttname"><a href="tools_8h.html#ab99ded389af74001a6298fc9e44e74e5">MAX_PATH</a></div><div class="ttdeci">#define MAX_PATH</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00149">tools.h:149</a></div></div>
<div class="ttc" id="aclass_c_find_file_html_ac1174667c68623d293bc3d483418bfa7"><div class="ttname"><a href="class_c_find_file.html#ac1174667c68623d293bc3d483418bfa7">CFindFile::FindFile</a></div><div class="ttdeci">bool FindFile(const TCHAR *sPath)</div><div class="ttdoc">遍历当前目录下的所有文件</div><div class="ttdef"><b>Definition:</b> <a href="_find_file_8cpp_source.html#l00071">FindFile.cpp:71</a></div></div>
<div class="ttc" id="aclass_c_find_file_html_a59d6ad75b318bb307b8a5010b955ddc4"><div class="ttname"><a href="class_c_find_file.html#a59d6ad75b318bb307b8a5010b955ddc4">CFindFile::GetFileUpdateTime</a></div><div class="ttdeci">time_t GetFileUpdateTime()</div><div class="ttdoc">获取文件更新时间</div><div class="ttdef"><b>Definition:</b> <a href="_find_file_8cpp_source.html#l00118">FindFile.cpp:118</a></div></div>
<div class="ttc" id="aclass_c_find_file_html_af4d5a2788640ba6aa1e30a8cc37cd6c7"><div class="ttname"><a href="class_c_find_file.html#af4d5a2788640ba6aa1e30a8cc37cd6c7">CFindFile::IsDir</a></div><div class="ttdeci">bool IsDir()</div><div class="ttdoc">判断是否为目录</div><div class="ttdef"><b>Definition:</b> <a href="_find_file_8cpp_source.html#l00108">FindFile.cpp:108</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a79243d634ddf21dd7486ceb02e80e360"><div class="ttname"><a href="namespace_share_api.html#a79243d634ddf21dd7486ceb02e80e360">ShareApi::Global_FreeMem</a></div><div class="ttdeci">LIBTOOLS void Global_FreeMem(TCHAR *sInfo)</div><div class="ttdoc">释放由Global_GetLastErrr函数申请的内存</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l00542">ShareApi.cpp:542</a></div></div>
<div class="ttc" id="astruct___f_i_l_e_f_i_n_d_i_n_f_o___html_aeac0f7a7b532ebfa75dc0becaf579692"><div class="ttname"><a href="struct___f_i_l_e_f_i_n_d_i_n_f_o__.html#aeac0f7a7b532ebfa75dc0becaf579692">_FILEFINDINFO_::tUpdateTime</a></div><div class="ttdeci">time_t tUpdateTime</div><div class="ttdoc">文件修改的时间</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00317">tools.h:317</a></div></div>
<div class="ttc" id="astruct___f_i_l_e_f_i_n_d_i_n_f_o___html"><div class="ttname"><a href="struct___f_i_l_e_f_i_n_d_i_n_f_o__.html">_FILEFINDINFO_</a></div><div class="ttdoc">文件查找信息</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00311">tools.h:311</a></div></div>
<div class="ttc" id="astruct___f_i_l_e_f_i_n_d_i_n_f_o___html_ad9c9e6207a688f672d689fa75f83da1a"><div class="ttname"><a href="struct___f_i_l_e_f_i_n_d_i_n_f_o__.html#ad9c9e6207a688f672d689fa75f83da1a">_FILEFINDINFO_::tCreateTime</a></div><div class="ttdeci">time_t tCreateTime</div><div class="ttdoc">文件创建的时间</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00316">tools.h:316</a></div></div>
<div class="ttc" id="astruct___f_i_l_e_f_i_n_d_i_n_f_o___html_a857b9e763ea3e183a8e6a582af305c82"><div class="ttname"><a href="struct___f_i_l_e_f_i_n_d_i_n_f_o__.html#a857b9e763ea3e183a8e6a582af305c82">_FILEFINDINFO_::szFileName</a></div><div class="ttdeci">TCHAR szFileName[MAX_PATH]</div><div class="ttdoc">文件名称</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00313">tools.h:313</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a753dde889b11d29612c759d13ee359b3"><div class="ttname"><a href="namespace_share_api.html#a753dde889b11d29612c759d13ee359b3">ShareApi::FindClose</a></div><div class="ttdeci">LIBTOOLS void FindClose(FILE_HANDLE hFile)</div><div class="ttdoc">关闭目录遍历</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l00431">ShareApi.cpp:431</a></div></div>
<div class="ttc" id="aclass_c_find_file_html_a7d47bb5e65af545e4bc40e1f8c05c294"><div class="ttname"><a href="class_c_find_file.html#a7d47bb5e65af545e4bc40e1f8c05c294">CFindFile::FindNext</a></div><div class="ttdeci">bool FindNext()</div><div class="ttdoc">继续遍历下一个目录</div><div class="ttdef"><b>Definition:</b> <a href="_find_file_8cpp_source.html#l00085">FindFile.cpp:85</a></div></div>
<div class="ttc" id="atools_8h_html_a127d2fa204bf091738a6d3b1c0671d9e"><div class="ttname"><a href="tools_8h.html#a127d2fa204bf091738a6d3b1c0671d9e">_tcscmp</a></div><div class="ttdeci">#define _tcscmp</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00188">tools.h:188</a></div></div>
<div class="ttc" id="astruct___f_i_l_e_f_i_n_d_i_n_f_o___html_a12703399394ee01b4753a90543f1e3c6"><div class="ttname"><a href="struct___f_i_l_e_f_i_n_d_i_n_f_o__.html#a12703399394ee01b4753a90543f1e3c6">_FILEFINDINFO_::dwFilesize</a></div><div class="ttdeci">INT64 dwFilesize</div><div class="ttdoc">文件大小,如果是目录统一为0字节</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00315">tools.h:315</a></div></div>
<div class="ttc" id="aclass_c_find_file_html_ae59981d2378355622b4dc22ef18f06e0"><div class="ttname"><a href="class_c_find_file.html#ae59981d2378355622b4dc22ef18f06e0">CFindFile::GetFileCreateTime</a></div><div class="ttdeci">time_t GetFileCreateTime()</div><div class="ttdoc">获取文件创建时间</div><div class="ttdef"><b>Definition:</b> <a href="_find_file_8cpp_source.html#l00113">FindFile.cpp:113</a></div></div>
<div class="ttc" id="atools_8h_html_a6a2b55a6391419ed0b7b9da06e094b4b"><div class="ttname"><a href="tools_8h.html#a6a2b55a6391419ed0b7b9da06e094b4b">INT64</a></div><div class="ttdeci">long long INT64</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00132">tools.h:132</a></div></div>
<div class="ttc" id="a_find_file_8h_html"><div class="ttname"><a href="_find_file_8h.html">FindFile.h</a></div></div>
<div class="ttc" id="atools_8h_html_ab00d7bdead70fa34f855541305b0c89e"><div class="ttname"><a href="tools_8h.html#ab00d7bdead70fa34f855541305b0c89e">FILE_HANDLE</a></div><div class="ttdeci">#define FILE_HANDLE</div><div class="ttdoc">文件句柄</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00306">tools.h:306</a></div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
